package com.pojo;

import java.util.Objects;

/**
 * @author zxl
 * @create :2022/9/28
 */
public class Student {
    //属性
    private  Integer id;//学号
    private String stuName;//姓名
    private String gradeName;//年级
    private Integer age;//年龄
    private String address;//地址
    private Integer ordered;//排序列
    private Integer statues;//状态0禁用 1启用


    public Student() {
    }

    public Student(Integer id, String stuName, String gradeName, Integer age, String address, Integer ordered, Integer statues) {
        this.id = id;
        this.stuName = stuName;
        this.gradeName = gradeName;
        this.age = age;
        this.address = address;
        this.ordered = ordered;
        this.statues = statues;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getOrdered() {
        return ordered;
    }

    public void setOrdered(Integer ordered) {
        this.ordered = ordered;
    }

    public Integer getStatues() {
        return statues;
    }

    public void setStatues(Integer statues) {
        this.statues = statues;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", stuName='" + stuName + '\'' +
                ", gradeName='" + gradeName + '\'' +
                ", age=" + age +
                ", address='" + address + '\'' +
                ", ordered=" + ordered +
                ", statues=" + statues +
                '}';
    }
}
